package com.ds.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class BuildingInfo {

    private int buildingId; // 楼房ID，自增主键
    private Double buildingArea; // 楼房面积
    private Double usingArea; // 使用面积
    private int layer; // 层数
    private String arch; // 朝向
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "ASIA/Shanghai")
    private Date startTime; // 开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "ASIA/Shanghai")

    private Date endTime; // 结束时间
    private int orderNum; // 房源顺序号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "ASIA/Shanghai")

    private Date createTime; // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "ASIA/Shanghai")

    private Date updateTime; // 更新时间
    private int deleteFlag; // 删除标记
    public int getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(int buildingId) {
        this.buildingId = buildingId;
    }

    public Double getBuildingArea() {
        return buildingArea;
    }

    public void setBuildingArea(Double buildingArea) {
        this.buildingArea = buildingArea;
    }

    public Double getUsingArea() {
        return usingArea;
    }

    public void setUsingArea(Double usingArea) {
        this.usingArea = usingArea;
    }

    public int getLayer() {
        return layer;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }

    public String getArch() {
        return arch;
    }

    public void setArch(String arch) {
        this.arch = arch;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }


}
